

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
    <style>
    /* base */
    html,
    body,
    .container {
      width: 100%;
      height: 100%;
    }

    a,
    a:link,
    a:visited {
      text-decoration: none;
      color: inherit;
    }

    ul {
      list-style: none;
    }

    *,
    ::before,
    ::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    *:focus {
      outline: 0;
    }

    .container {
      display: flex;
      padding-top: 20px;
    }

    /* Nav */
    .container .doc-nav {
      position: fixed;
      height: 100%;
      margin: 0 30px 0 40px;
      width: 280px;
    }

    .doc-nav .nav-header {
      display: flex;
      align-items: center;
      box-sizing: border-box;
      background-color: rgb(240, 241, 242);
      height: 40px;
      padding: 16px;
      font-size: 18px;
      font-weight: 500;
      color: rgb(62, 64, 66);
      cursor: pointer;
    }

    .doc-nav .nav-content {
      height: calc(100% - 40px);
      overflow-y: auto;
      color: rgb(32, 34, 36);
    }

    .doc-nav .nav-content .nav-list,
    .doc-nav .nav-content .nav-sub-list {
      line-height: 1.5rem;
    }

    .doc-nav .nav-content .nav-label {
      display: inline-block;
      position: relative;
      padding: 2px 0 2px 20px;
      margin-bottom: 4px;
    }

    .doc-nav .nav-content .nav-sub-label {
      position: relative;
      padding: 2px 0 2px 40px;
      font-size: 14px;
    }

    .doc-nav .nav-content .nav-sub-label:hover {
      text-decoration: underline;
    }

    .doc-nav .nav-content .nav-list .nav-label.group::before {
      border-bottom: 0.25rem solid transparent;
      border-left: 0.25rem solid #6e7072;
      border-right: 0;
      border-top: 0.25rem solid transparent;
      content: '';
      display: block;
      height: 0;
      left: 0.5rem;
      position: absolute;
      top: 0.625rem;
      transition: transform 0.1s linear;
      width: 0;
    }

    .doc-nav .nav-content .nav-list .nav-label.group.active::before {
      transform: rotate(90deg);
    }

    /* doc content */
    .container .doc-content {
      position: fixed;
      height: 100%;
      width: calc(100% - 80px - 40px - 30px - 240px);
      right: 0%;
      overflow-y: auto;
    }

    .doc-title {
      border-bottom: 1px solid #dcdee0;
      font-size: 22px;
      margin: 8px 0 0;
      padding-bottom: 16px;
    }

    .doc-content h3 {
      font-size: 24px;
      font-weight: 600;
      margin: 24px 0;
    }

    .doc-content h4 {
      font-size: 22px;
      font-weight: 500;
      margin: 30px 0 8px;
    }

    .doc-content h4 span {
      color: #007d9c;
    }

    .doc-content .doc-declare {
      background-color: #fafafa;
      border-radius: 5px;
      border: 1px solid #ccc;
      font-size: 14px;
      overflow-x: auto;
      padding: 10px;
      tab-size: 4;
      line-height: 20px;
    }

    .doc-content .doc-comment {
      font-size: 16px;
      margin: 16px 0;
      line-height: 24px;
      word-break: break-word;
    }
  </style>

</head>
<body>
  <div class="container">
    <div class="doc-nav">
      <a href="#Documentation" class="nav-header">Documentation</a>
      <nav class="nav-content">
        <ul class="nav-list">
          <li>
            <a href="#includes" class="nav-label">Includes</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#config.h" class="nav-sub-label">config.h</a>
              </li>
      

              <li>
                <a href="#MBEDTLS_CONFIG_FILE" class="nav-sub-label">MBEDTLS_CONFIG_FILE</a>
              </li>
      

              <li>
                <a href="#aes.h" class="nav-sub-label">aes.h</a>
              </li>
      

              <li>
                <a href="#stdint.h" class="nav-sub-label">stdint.h</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#macros" class="nav-label">Macros</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#MBEDTLS_PADLOCK_H" class="nav-sub-label">MBEDTLS_PADLOCK_H</a>
              </li>
      

              <li>
                <a href="#MBEDTLS_ERR_PADLOCK_DATA_MISALIGNED" class="nav-sub-label">MBEDTLS_ERR_PADLOCK_DATA_MISALIGNED</a>
              </li>
      

              <li>
                <a href="#MBEDTLS_HAVE_ASAN" class="nav-sub-label">MBEDTLS_HAVE_ASAN</a>
              </li>
      

              <li>
                <a href="#MBEDTLS_HAVE_X86" class="nav-sub-label">MBEDTLS_HAVE_X86</a>
              </li>
      

              <li>
                <a href="#MBEDTLS_PADLOCK_RNG" class="nav-sub-label">MBEDTLS_PADLOCK_RNG</a>
              </li>
      

              <li>
                <a href="#MBEDTLS_PADLOCK_ACE" class="nav-sub-label">MBEDTLS_PADLOCK_ACE</a>
              </li>
      

              <li>
                <a href="#MBEDTLS_PADLOCK_PHE" class="nav-sub-label">MBEDTLS_PADLOCK_PHE</a>
              </li>
      

              <li>
                <a href="#MBEDTLS_PADLOCK_PMM" class="nav-sub-label">MBEDTLS_PADLOCK_PMM</a>
              </li>
      

              <li>
                <a href="#MBEDTLS_PADLOCK_ALIGN16(x)" class="nav-sub-label">MBEDTLS_PADLOCK_ALIGN16(x)</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#functions" class="nav-label">Functions</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#mbedtls_padlock_has_support" class="nav-sub-label">mbedtls_padlock_has_support</a>
              </li>
      

              <li>
                <a href="#mbedtls_padlock_xcryptecb" class="nav-sub-label">mbedtls_padlock_xcryptecb</a>
              </li>
      

              <li>
                <a href="#mbedtls_padlock_xcryptcbc" class="nav-sub-label">mbedtls_padlock_xcryptcbc</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#vars" class="nav-label">Vars</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
          <li>
            <a href="#consts" class="nav-label">Consts</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
          <li>
            <a href="#types" class="nav-label">Types</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
          <li>
            <a href="#typedefs" class="nav-label">Typedefs</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
        </ul>
      </nav>
    </div>
    <div class="doc-content">
      <h2 id="Documentation" class="doc-title">Documentation</h2>
      <h3 id="includes">Includes</h3>
      

      <h4 id="config.h"><span>config.h</span></h4>
      <pre class="doc-declare"><code>#include "config.h"
</code></pre>
      <pre class="doc-comment">#include "config.h"
</pre>

      <h4 id="MBEDTLS_CONFIG_FILE"><span>MBEDTLS_CONFIG_FILE</span></h4>
      <pre class="doc-declare"><code>#include MBEDTLS_CONFIG_FILE
</code></pre>
      <pre class="doc-comment">#include MBEDTLS_CONFIG_FILE
</pre>

      <h4 id="aes.h"><span>aes.h</span></h4>
      <pre class="doc-declare"><code>#include "aes.h"
</code></pre>
      <pre class="doc-comment">#include "aes.h"
</pre>

      <h4 id="stdint.h"><span>stdint.h</span></h4>
      <pre class="doc-declare"><code>#include &lt;stdint.h&gt;
</code></pre>
      <pre class="doc-comment">#include <stdint.h>
</pre>
      <h3 id="macros">Macros</h3>
      

      <h4 id="MBEDTLS_PADLOCK_H">Marco <span>MBEDTLS_PADLOCK_H</span></h4>
      <pre class="doc-declare"><code>#define MBEDTLS_PADLOCK_H
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="MBEDTLS_ERR_PADLOCK_DATA_MISALIGNED">Marco <span>MBEDTLS_ERR_PADLOCK_DATA_MISALIGNED</span></h4>
      <pre class="doc-declare"><code>#define MBEDTLS_ERR_PADLOCK_DATA_MISALIGNED              -48 /**< Input data should be aligned. */
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="MBEDTLS_HAVE_ASAN">Marco <span>MBEDTLS_HAVE_ASAN</span></h4>
      <pre class="doc-declare"><code>#define MBEDTLS_HAVE_ASAN
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="MBEDTLS_HAVE_X86">Marco <span>MBEDTLS_HAVE_X86</span></h4>
      <pre class="doc-declare"><code>#define MBEDTLS_HAVE_X86
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="MBEDTLS_PADLOCK_RNG">Marco <span>MBEDTLS_PADLOCK_RNG</span></h4>
      <pre class="doc-declare"><code>#define MBEDTLS_PADLOCK_RNG 0C
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="MBEDTLS_PADLOCK_ACE">Marco <span>MBEDTLS_PADLOCK_ACE</span></h4>
      <pre class="doc-declare"><code>#define MBEDTLS_PADLOCK_ACE 0C0
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="MBEDTLS_PADLOCK_PHE">Marco <span>MBEDTLS_PADLOCK_PHE</span></h4>
      <pre class="doc-declare"><code>#define MBEDTLS_PADLOCK_PHE 0C00
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="MBEDTLS_PADLOCK_PMM">Marco <span>MBEDTLS_PADLOCK_PMM</span></h4>
      <pre class="doc-declare"><code>#define MBEDTLS_PADLOCK_PMM 12288
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="MBEDTLS_PADLOCK_ALIGN16(x)">Marco <span>MBEDTLS_PADLOCK_ALIGN16(x)</span></h4>
      <pre class="doc-declare"><code>#define MBEDTLS_PADLOCK_ALIGN16(x) (uint32_t *) (16 + ((int32_t) (x) & ~15))
</code></pre>
      <pre class="doc-comment"></pre>
      <h3 id="functions">Functions</h3>
      

      <h4 id="mbedtls_padlock_has_support">Func <span>mbedtls_padlock_has_support</span></h4>
      <pre class="doc-declare"><code>int mbedtls_padlock_has_support( int feature );</code></pre>
      <pre class="doc-comment">/**
 * \brief          Internal PadLock detection routine
 *
 * \note           This function is only for internal use by other library
 *                 functions; you must not call it directly.
 *
 * \param feature  The feature to detect
 *
 * \return         1 if CPU has support for the feature, 0 otherwise
 */</pre>

      <h4 id="mbedtls_padlock_xcryptecb">Func <span>mbedtls_padlock_xcryptecb</span></h4>
      <pre class="doc-declare"><code>int mbedtls_padlock_xcryptecb( mbedtls_aes_context *ctx,
                              int mode,
                              const unsigned char input[16],
                              unsigned char output[16] );</code></pre>
      <pre class="doc-comment">/**
 * \brief          Internal PadLock AES-ECB block en(de)cryption
 *
 * \note           This function is only for internal use by other library
 *                 functions; you must not call it directly.
 *
 * \param ctx      AES context
 * \param mode     MBEDTLS_AES_ENCRYPT or MBEDTLS_AES_DECRYPT
 * \param input    16-byte input block
 * \param output   16-byte output block
 *
 * \return         0 if success, 1 if operation failed
 */</pre>

      <h4 id="mbedtls_padlock_xcryptcbc">Func <span>mbedtls_padlock_xcryptcbc</span></h4>
      <pre class="doc-declare"><code>int mbedtls_padlock_xcryptcbc( mbedtls_aes_context *ctx,
                              int mode,
                              size_t length,
                              unsigned char iv[16],
                              const unsigned char *input,
                              unsigned char *output );</code></pre>
      <pre class="doc-comment">/**
 * \brief          Internal PadLock AES-CBC buffer en(de)cryption
 *
 * \note           This function is only for internal use by other library
 *                 functions; you must not call it directly.
 *
 * \param ctx      AES context
 * \param mode     MBEDTLS_AES_ENCRYPT or MBEDTLS_AES_DECRYPT
 * \param length   length of the input data
 * \param iv       initialization vector (updated after use)
 * \param input    buffer holding the input data
 * \param output   buffer holding the output data
 *
 * \return         0 if success, 1 if operation failed
 */</pre>
      <h3 id="vars">Vars</h3>
      
      <h3 id="consts">Consts</h3>
      
      <h3 id="types">Types</h3>
      
      <h3 id="typedefs">Typedefs</h3>
      
    </div>
  </body>
</html>
            